package com.demovm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 深蓝色的橘子
 * @create 2023-05-13 17:22
 */
@Controller
public class HomeController {
    @RequestMapping("/")
    public String home(){
        return "index"; // 返回视图名，映射到index.html页面
    }
}
